<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

$form = $this->beginWidget('CActiveForm', array(
    'id' => 'searchForm',
    'method' => 'get',
    'action' => Yii::app()->request->baseUrl . '/search',
    'enableAjaxValidation' => FALSE,
    'htmlOptions' => array(
        'enctype' => 'multipart/form-data',
    ),
        ));
?>
<div id="search">
<input type="text"  placeholder="Nhập từ khóa cần tìm" name="keyword" value="<?= isset($_GET['keyword']) ? CHtml::encode($_GET['keyword']) : ''; ?>">
<input type="submit" class="btn-link" value="OK">
</div>
<?php $this->endWidget(); ?>
